﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000393 RID: 915
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class DEBGLDCAGPF : IMessage<DEBGLDCAGPF>, IMessage, IEquatable<DEBGLDCAGPF>, IDeepCloneable<DEBGLDCAGPF>, IBufferMessage
	{
		// Token: 0x17000BC8 RID: 3016
		// (get) Token: 0x060028FC RID: 10492 RVA: 0x00071F54 File Offset: 0x00070154
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<DEBGLDCAGPF> Parser
		{
			get
			{
				return DEBGLDCAGPF._parser;
			}
		}

		// Token: 0x17000BC9 RID: 3017
		// (get) Token: 0x060028FD RID: 10493 RVA: 0x00071F5B File Offset: 0x0007015B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return DEBGLDCAGPFReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000BCA RID: 3018
		// (get) Token: 0x060028FE RID: 10494 RVA: 0x00071F6D File Offset: 0x0007016D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return DEBGLDCAGPF.Descriptor;
			}
		}

		// Token: 0x060028FF RID: 10495 RVA: 0x00071F74 File Offset: 0x00070174
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DEBGLDCAGPF()
		{
		}

		// Token: 0x06002900 RID: 10496 RVA: 0x00071F7C File Offset: 0x0007017C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DEBGLDCAGPF(DEBGLDCAGPF other) : this()
		{
			this.eventId_ = other.eventId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002901 RID: 10497 RVA: 0x00071FA1 File Offset: 0x000701A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public DEBGLDCAGPF Clone()
		{
			return new DEBGLDCAGPF(this);
		}

		// Token: 0x17000BCB RID: 3019
		// (get) Token: 0x06002902 RID: 10498 RVA: 0x00071FA9 File Offset: 0x000701A9
		// (set) Token: 0x06002903 RID: 10499 RVA: 0x00071FB1 File Offset: 0x000701B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventId
		{
			get
			{
				return this.eventId_;
			}
			set
			{
				this.eventId_ = value;
			}
		}

		// Token: 0x06002904 RID: 10500 RVA: 0x00071FBA File Offset: 0x000701BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as DEBGLDCAGPF);
		}

		// Token: 0x06002905 RID: 10501 RVA: 0x00071FC8 File Offset: 0x000701C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(DEBGLDCAGPF other)
		{
			return other != null && (other == this || (this.EventId == other.EventId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06002906 RID: 10502 RVA: 0x00071FF8 File Offset: 0x000701F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EventId != 0U)
			{
				num ^= this.EventId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06002907 RID: 10503 RVA: 0x00072037 File Offset: 0x00070237
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06002908 RID: 10504 RVA: 0x0007203F File Offset: 0x0007023F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002909 RID: 10505 RVA: 0x00072048 File Offset: 0x00070248
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EventId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.EventId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600290A RID: 10506 RVA: 0x0007207C File Offset: 0x0007027C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600290B RID: 10507 RVA: 0x000720BA File Offset: 0x000702BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(DEBGLDCAGPF other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EventId != 0U)
			{
				this.EventId = other.EventId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600290C RID: 10508 RVA: 0x000720EB File Offset: 0x000702EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600290D RID: 10509 RVA: 0x000720F4 File Offset: 0x000702F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.EventId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400104D RID: 4173
		private static readonly MessageParser<DEBGLDCAGPF> _parser = new MessageParser<DEBGLDCAGPF>(() => new DEBGLDCAGPF());

		// Token: 0x0400104E RID: 4174
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400104F RID: 4175
		public const int EventIdFieldNumber = 10;

		// Token: 0x04001050 RID: 4176
		private uint eventId_;
	}
}
